using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JW.Framework.IOC.Attributes
{
    /// <summary>
    /// 属性注入注解，当类中的公共属性被修饰时，
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
    public sealed class AutowiredAttribute : Attribute
    {
        /// <summary>
        /// 注入的类型,默认为当前属性的类型, 也可以是当前属性的类或接口的子类或实现类
        /// </summary>
        public Type InjectType { get; set; }
    }
}
